﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000587 RID: 1415
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class FinishChessRogueSubStoryScRsp : IMessage<FinishChessRogueSubStoryScRsp>, IMessage, IEquatable<FinishChessRogueSubStoryScRsp>, IDeepCloneable<FinishChessRogueSubStoryScRsp>, IBufferMessage
	{
		// Token: 0x17001227 RID: 4647
		// (get) Token: 0x06003F95 RID: 16277 RVA: 0x000AE6FF File Offset: 0x000AC8FF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<FinishChessRogueSubStoryScRsp> Parser
		{
			get
			{
				return FinishChessRogueSubStoryScRsp._parser;
			}
		}

		// Token: 0x17001228 RID: 4648
		// (get) Token: 0x06003F96 RID: 16278 RVA: 0x000AE706 File Offset: 0x000AC906
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return FinishChessRogueSubStoryScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001229 RID: 4649
		// (get) Token: 0x06003F97 RID: 16279 RVA: 0x000AE718 File Offset: 0x000AC918
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return FinishChessRogueSubStoryScRsp.Descriptor;
			}
		}

		// Token: 0x06003F98 RID: 16280 RVA: 0x000AE71F File Offset: 0x000AC91F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishChessRogueSubStoryScRsp()
		{
		}

		// Token: 0x06003F99 RID: 16281 RVA: 0x000AE728 File Offset: 0x000AC928
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishChessRogueSubStoryScRsp(FinishChessRogueSubStoryScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.chessRogueSubStoryId_ = other.chessRogueSubStoryId_;
			this.chessRogueMainStoryId_ = other.chessRogueMainStoryId_;
			this.iBGBNAJCIHD_ = other.iBGBNAJCIHD_;
			this.iCCDOBIGCLN_ = other.iCCDOBIGCLN_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06003F9A RID: 16282 RVA: 0x000AE788 File Offset: 0x000AC988
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishChessRogueSubStoryScRsp Clone()
		{
			return new FinishChessRogueSubStoryScRsp(this);
		}

		// Token: 0x1700122A RID: 4650
		// (get) Token: 0x06003F9B RID: 16283 RVA: 0x000AE790 File Offset: 0x000AC990
		// (set) Token: 0x06003F9C RID: 16284 RVA: 0x000AE798 File Offset: 0x000AC998
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x1700122B RID: 4651
		// (get) Token: 0x06003F9D RID: 16285 RVA: 0x000AE7A1 File Offset: 0x000AC9A1
		// (set) Token: 0x06003F9E RID: 16286 RVA: 0x000AE7A9 File Offset: 0x000AC9A9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ChessRogueSubStoryId
		{
			get
			{
				return this.chessRogueSubStoryId_;
			}
			set
			{
				this.chessRogueSubStoryId_ = value;
			}
		}

		// Token: 0x1700122C RID: 4652
		// (get) Token: 0x06003F9F RID: 16287 RVA: 0x000AE7B2 File Offset: 0x000AC9B2
		// (set) Token: 0x06003FA0 RID: 16288 RVA: 0x000AE7BA File Offset: 0x000AC9BA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ChessRogueMainStoryId
		{
			get
			{
				return this.chessRogueMainStoryId_;
			}
			set
			{
				this.chessRogueMainStoryId_ = value;
			}
		}

		// Token: 0x1700122D RID: 4653
		// (get) Token: 0x06003FA1 RID: 16289 RVA: 0x000AE7C3 File Offset: 0x000AC9C3
		// (set) Token: 0x06003FA2 RID: 16290 RVA: 0x000AE7CB File Offset: 0x000AC9CB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint IBGBNAJCIHD
		{
			get
			{
				return this.iBGBNAJCIHD_;
			}
			set
			{
				this.iBGBNAJCIHD_ = value;
			}
		}

		// Token: 0x1700122E RID: 4654
		// (get) Token: 0x06003FA3 RID: 16291 RVA: 0x000AE7D4 File Offset: 0x000AC9D4
		// (set) Token: 0x06003FA4 RID: 16292 RVA: 0x000AE7DC File Offset: 0x000AC9DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ICCDOBIGCLN
		{
			get
			{
				return this.iCCDOBIGCLN_;
			}
			set
			{
				this.iCCDOBIGCLN_ = value;
			}
		}

		// Token: 0x06003FA5 RID: 16293 RVA: 0x000AE7E5 File Offset: 0x000AC9E5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as FinishChessRogueSubStoryScRsp);
		}

		// Token: 0x06003FA6 RID: 16294 RVA: 0x000AE7F4 File Offset: 0x000AC9F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(FinishChessRogueSubStoryScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.ChessRogueSubStoryId == other.ChessRogueSubStoryId && this.ChessRogueMainStoryId == other.ChessRogueMainStoryId && this.IBGBNAJCIHD == other.IBGBNAJCIHD && this.ICCDOBIGCLN == other.ICCDOBIGCLN && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06003FA7 RID: 16295 RVA: 0x000AE870 File Offset: 0x000ACA70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.ChessRogueSubStoryId != 0U)
			{
				num ^= this.ChessRogueSubStoryId.GetHashCode();
			}
			if (this.ChessRogueMainStoryId != 0U)
			{
				num ^= this.ChessRogueMainStoryId.GetHashCode();
			}
			if (this.IBGBNAJCIHD != 0U)
			{
				num ^= this.IBGBNAJCIHD.GetHashCode();
			}
			if (this.ICCDOBIGCLN != 0U)
			{
				num ^= this.ICCDOBIGCLN.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06003FA8 RID: 16296 RVA: 0x000AE913 File Offset: 0x000ACB13
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06003FA9 RID: 16297 RVA: 0x000AE91B File Offset: 0x000ACB1B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06003FAA RID: 16298 RVA: 0x000AE924 File Offset: 0x000ACB24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.Retcode);
			}
			if (this.IBGBNAJCIHD != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.IBGBNAJCIHD);
			}
			if (this.ICCDOBIGCLN != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.ICCDOBIGCLN);
			}
			if (this.ChessRogueSubStoryId != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.ChessRogueSubStoryId);
			}
			if (this.ChessRogueMainStoryId != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.ChessRogueMainStoryId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06003FAB RID: 16299 RVA: 0x000AE9D4 File Offset: 0x000ACBD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.ChessRogueSubStoryId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ChessRogueSubStoryId);
			}
			if (this.ChessRogueMainStoryId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ChessRogueMainStoryId);
			}
			if (this.IBGBNAJCIHD != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.IBGBNAJCIHD);
			}
			if (this.ICCDOBIGCLN != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ICCDOBIGCLN);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06003FAC RID: 16300 RVA: 0x000AEA74 File Offset: 0x000ACC74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(FinishChessRogueSubStoryScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.ChessRogueSubStoryId != 0U)
			{
				this.ChessRogueSubStoryId = other.ChessRogueSubStoryId;
			}
			if (other.ChessRogueMainStoryId != 0U)
			{
				this.ChessRogueMainStoryId = other.ChessRogueMainStoryId;
			}
			if (other.IBGBNAJCIHD != 0U)
			{
				this.IBGBNAJCIHD = other.IBGBNAJCIHD;
			}
			if (other.ICCDOBIGCLN != 0U)
			{
				this.ICCDOBIGCLN = other.ICCDOBIGCLN;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06003FAD RID: 16301 RVA: 0x000AEB00 File Offset: 0x000ACD00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06003FAE RID: 16302 RVA: 0x000AEB0C File Offset: 0x000ACD0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 24U)
				{
					if (num == 16U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
					if (num == 24U)
					{
						this.IBGBNAJCIHD = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 32U)
					{
						this.ICCDOBIGCLN = input.ReadUInt32();
						continue;
					}
					if (num == 104U)
					{
						this.ChessRogueSubStoryId = input.ReadUInt32();
						continue;
					}
					if (num == 120U)
					{
						this.ChessRogueMainStoryId = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x0400191E RID: 6430
		private static readonly MessageParser<FinishChessRogueSubStoryScRsp> _parser = new MessageParser<FinishChessRogueSubStoryScRsp>(() => new FinishChessRogueSubStoryScRsp());

		// Token: 0x0400191F RID: 6431
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001920 RID: 6432
		public const int RetcodeFieldNumber = 2;

		// Token: 0x04001921 RID: 6433
		private uint retcode_;

		// Token: 0x04001922 RID: 6434
		public const int ChessRogueSubStoryIdFieldNumber = 13;

		// Token: 0x04001923 RID: 6435
		private uint chessRogueSubStoryId_;

		// Token: 0x04001924 RID: 6436
		public const int ChessRogueMainStoryIdFieldNumber = 15;

		// Token: 0x04001925 RID: 6437
		private uint chessRogueMainStoryId_;

		// Token: 0x04001926 RID: 6438
		public const int IBGBNAJCIHDFieldNumber = 3;

		// Token: 0x04001927 RID: 6439
		private uint iBGBNAJCIHD_;

		// Token: 0x04001928 RID: 6440
		public const int ICCDOBIGCLNFieldNumber = 4;

		// Token: 0x04001929 RID: 6441
		private uint iCCDOBIGCLN_;
	}
}
